<h3 class="glyphicons user">
	<i></i> My Account
</h3>
<div class="innerLR">
	<form class="form-horizontal" name="chng_pass" method="POST"
		action="<?= base_url(); ?>secure/settings/password_change/pass_change">
		<div>
			<?php
			$this->session->flashdata('message'); {
				$msg = $this->session->flashdata('message');
				echo '<font color="red">' . $msg . '</font>';
			}
			?>
		</div>
		<div class="widget widget-2">
			<div class="widget-head">
				<h4 class="heading glyphicons settings">
					<i></i>Account settings
				</h4>
			</div>
			<div class="widget-body" style="padding-bottom: 0;">
				<div class="row-fluid">
					<div class="span3">
						<strong>Change password</strong>
						<p class="muted">You can change you Password by entering New
							Password</p>
					</div>
					<div class="span9">

						<label for="inputUsername">User Name</label> <input type="text"
							id="inputUsername" class="span10" value="<?= $this->session->userdata('sess_admin_user');?>"
							disabled="disabled" /> <span style="margin: 0;"
							class="btn-action single glyphicons circle_question_mark"
							data-toggle="tooltip" data-placement="top"
							data-original-title="Username can't be changed"><i></i> </span>
						<div class="separator"></div>
						<div class="separator"></div>

						<label for="inputPasswordNew">Old Password</label> <input
							name="oldPass" type="password" class="span12" value=""
							placeholder="Leave empty for no change" />
						<div class="separator"></div>
						<div class="separator"></div>

						<label for="inputPasswordNew">New password</label> <input
							name="newPass" type="password" class="span12" value=""
							placeholder="Leave empty for no change" />
						<div class="separator"></div>
						<label for="inputPasswordNew2">Repeat new password</label> <input
							name="repeatPass" type="password" class="span12" value=""
							placeholder="Leave empty for no change" />

						<div class="form-actions" style="margin: 0; padding-right: 0;">


							<button type="submit"
								class="btn btn-icon btn-primary glyphicons circle_ok pull-right"
								name="verify" value="Update" <?php if($this->config->item('mode')=='DEMO'){?>onclick="alert ('Sorry! Not allowed in Demo mode '); return false;" <?} else?>onclick="return confirm('Are you sure ?');">
								<i></i>Change Password
							</button>
						</div>

						<div class="separator"></div>


					</div>
				</div>
			</div>
		</div>
	</form>
</div>
